RectControl.MouseWheel Event

The mouse wheel has been moved. The parameters X and Y are the mouse coordinates relative to the control that has received the event.

Syntax

MouseWheel ( X, Y, Delta )

Parameters

X

Integer

Y

Integer

Delta

Integer


The parameter Delta is the number of scroll lines the wheel has been moved, as defined by the operating system. This value is positive when the user scrolls down and negative when scrolling up. Returns a Boolean. Return True to prevent the event from propagating further.